/**
 * 接口管理
 * 商户中心>商户分销
 */
import request from '@/utils/request';

// 获取全部商户
export const getSupplierAll = (params = {}) => {
    return request('/Amaidan-Merchants-Web/merchants/busMerchantsInfo/all', {
        method: 'POST',
        data: params
    })
}
// 获取已授权的商户
export const getSupplierByAuth = (params = {}) => {
    return request('/Amaidan-Goods-Web/commons/api/queryObjExpire', {
        method: 'POST',
        data: params
    })
}
// 更新商户设置
export const updataSupplier = (params = {}) => {
    return request('/Amaidan-Goods-Web/commons/api/updateObjExpire', {
        method: 'POST',
        data: params
    })
}